package com.dsp.services.impl;


import java.io.Serializable;

import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.core.util.GenericDAO;
import com.core.util.GenericServiceHibernate;
import com.dsp.bean.PersonalAccount;
import com.dsp.dao.PersonalAccountDAO;
import com.dsp.services.PersonalAccountService;

@Service("personalAccountService")
public class PersonalAccountServiceImpl extends GenericServiceHibernate<PersonalAccount, Long> implements PersonalAccountService {
 
	@Autowired
	private PersonalAccountDAO personalAccountDAO;
	
	@Resource(name = "personalAccountDAO")
	public void setDao(GenericDAO<PersonalAccount, Serializable> dao){
		super.setDao(dao);
	}

	/**
	 * @return the personalAccountDAO
	 */
	public PersonalAccountDAO getPersonalAccountDAO() {
		return personalAccountDAO;
	}

	/**
	 * @param personalAccountDAO the personalAccountDAO to set
	 */
	public void setPersonalAccountDAO(PersonalAccountDAO personalAccountDAO) {
		this.personalAccountDAO = personalAccountDAO;
	}
}